package com.itheima.example;

import java.io.*;

public class example01 {
    public static void main(String[] args) throws Exception {
        FileInputStream input = new FileInputStream("src/com/itheima/example/itheima.txt");
        int i = 0;
        while (true) {
            i = input.read();
            if (i == -1) {
                break;
            }
            System.out.println(i);
        }
        input.close();
    }
}
